Predecessor Queries in Dynamic Integer Sets

نویسنده

  • Gerth Stølting Brodal
چکیده

We consider the problem of maintaining a set of n integers in the range 0::2 w ? 1 under the operations of insertion, deletion, predecessor queries, minimum queries and maximum queries on a unit cost RAM with word size w bits. Let f (n) be an arbitrary nondecreasing smooth function satisfying log log n f (n) p log n. A data structure is presented supporting insertions and deletions in worst case O(f (n)) time, predecessor queries in worst case O((log n)=f (n)) time and minimum and maximum queries in worst case constant time. The required space is O(n2 w) for an arbitrary constant > 0. The RAM operations used are addition, arbitrary left and right bit shifts and bit-wise boolean operations. The data structure is the rst supporting predecessor queries in worst case O(log n= log log n) time while having worst case O(log log n) update time.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Improved data structures for predecessor queries in integer sets

We consider the problem of maintaining a dynamic ordered set of n integers in the range 0 : :2 w ?1, under the operations of insertion, deletion and predecessor queries, on a unit-cost RAM with a word length of w bits. We show that all the operations above can be performed in O(minflogw; 1 + logn= logwg) expected time, assuming the updates are oblivious, i.e., independent of the random choices ...

متن کامل

Connectivity Oracles for Planar Graphs

We consider dynamic subgraph connectivity problems for planar undirected graphs. In this model there is a fixed underlying planar graph, where each edge and vertex is either “off” (failed) or “on” (recovered). We wish to answer connectivity queries with respect to the “on” subgraph. The model has two natural variants, one in which there are d edge/vertex failures that precede all connectivity q...

متن کامل

Space-Efficient Data-Analysis Queries on Grids

We consider various data-analysis queries on two-dimensional points. We give new space/time tradeoffs over previous work on geometric queries such as dominance and rectangle visibility, and on semigroup and group queries such as sum, average, variance, minimum and maximum. We also introduce new solutions to queries less frequently considered in the literature such as two-dimensional quantiles, ...

متن کامل

A Lower Bound on Supporting Predecessor Search in k sorted Arrays

We seek to perform efficient queries for the predecessor among n values stored in k sorted arrays. Evading the Ω(n log k) lower bound from merging k arrays, we support predecessor queries in O(logn) time after O(n log( k logn )) construction time. By applying Ben-Or’s technique, we establish that this is optimal for strict predecessor queries, i.e., every data structure supporting O(logn)-time ...

متن کامل

The Structure of the Collatz Graph; A Recursive Production of the Predecessor Tree; Proof of the Collatz 3x+1 Conjecture

Several major steps develop a proof of the Collatz conjecture. (1)The overall structure of the Collatz graph is a binary predecessor tree whose nodes contain residue sets, {c[d]}. (2)The residue sets are deployed as extensions (right descents) and l.d.a.s (left descents). (3)Generation of a large initial sample of the tree was accomplished using a recursive computer program. (4)The program outp...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1997